package com.lmqb.dao;

import com.lmqb.bean.JCollection;
import com.lmqb.page.CollectionPager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JCollectionMapper {
    int deleteByPrimaryKey(Integer recId);

    int insert(JCollection record);

    int insertSelective(JCollection record);

    JCollection selectByPrimaryKey(Integer recId);

    int updateByPrimaryKeySelective(JCollection record);

    int updateByPrimaryKey(JCollection record);

	List<JCollection> selectAll(CollectionPager pagerModel);

	int selectCount(CollectionPager pagerModel);

	List<JCollection> selectByUserId(Integer userId);
	
	int updateRepayStatusByRepayNo(@Param("repayStatus")Byte repayStatus,@Param("repayNo")String repayNo);

    //根据还款订单号查询信息
    JCollection selectCuishou_repayno(JCollection jCollection);

    //根据订单号修改
    int updqteCuishou_repayno(JCollection jCollection);
}